package com.zmj.sy.mom.srv.aps.service.scheduler.order;

import com.zmj.sy.mom.srv.aps.bean.entity.order.OrderBom;
import com.zmj.sy.mom.srv.aps.bean.entity.order.OrderPhase;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

@Getter
@Setter
@ApiModel("订单BOM")
public class DefaultBom {

    @ApiModelProperty("BOM基本信息")
    private OrderBom bom;

    @ApiModelProperty("BOM工序信息")
    private List<DefaultPhase> phases;

    @ApiModelProperty("订单信息")
    private DefaultOrder order;

    @ApiModelProperty("父级BOM")
    private DefaultBom parent;

    @ApiModelProperty("子级BOM")
    private List<DefaultBom> children;

}
